Skip to content
This repository was archived by the owner on Feb 27, 2018. It is now read-only.

Test for cfg dir existance#73

Merged
SvenDowideit merged 2 commits into
boot2docker:masterfrom
SvenDowideit:test-for-cfg-dir-existance
Mar 25, 2014
Merged

Test for cfg dir existance#73
SvenDowideit merged 2 commits into
boot2docker:masterfrom
SvenDowideit:test-for-cfg-dir-existance

Conversation

@SvenDowideit
Copy link
Copy Markdown
Contributor

When testing on win8.1 and win7 sp1, I found that the error is different, and tbh, it looks to me like we intended to only choose a dir if it exists - so I've added the existance test

also - if we're falling back to a last hope (cwd()) then use that dir, don't 'hope' that there is a .boot2docker dir in it.

…rd, so I rewrote the cfg dir code to keep trying until it finds an existant dir
@SvenDowideit
Copy link
Copy Markdown
Contributor Author

this is mildly urgent, as I can't release the windows 0.1-alpha installer without it.

@SvenDowideit
Copy link
Copy Markdown
Contributor Author

@gmlewis
Copy link
Copy Markdown
Contributor

gmlewis commented Mar 24, 2014

LGTM

2 similar comments
@riobard
Copy link
Copy Markdown
Contributor

riobard commented Mar 25, 2014

LGTM

@tianon
Copy link
Copy Markdown
Contributor

tianon commented Mar 25, 2014

LGTM

SvenDowideit added a commit that referenced this pull request Mar 25, 2014
@SvenDowideit SvenDowideit merged commit 394bf16 into boot2docker:master Mar 25, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants